package com.zy.chapter5

import scala.beans.BeanProperty

/**
 * @description: ${description}
 * @author: zhaoyi
 * @create: 2020-04-23 23:27
 **/
class BeanJava {

  /**
   * * @BeanProperty 注解的会多生成符合java命名的get和set方法
   * 便于和java的bean互相操作
   */

  @BeanProperty var name: String = _
  var age: Int = _
  @BeanProperty val sex: String = "man"



}
